package gam.t1.appraisal2.dinv.view;

import org.bukkit.inventory.ItemStack;

import java.util.function.Function;
import java.util.function.Predicate;

public interface SingleView<T extends CollectionsView> extends InvView{
    int getIndex();
    Predicate<T> getClickHandler();// 点击事件
    Function<T, ItemStack> getItemShowHandler();// 动态Item显示
    T getHandler();
}
